package com.ybb.vue.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ybb.vue.entity.Message;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
* @author apple
* @description 针对表【message(消息表)】的数据库操作Mapper
* @createDate 2023-03-30 13:03:20
* @Entity com.ybb.vue.entity.Message
*/
public interface MessageMapper extends BaseMapper<Message> {

    // 查找所有消息
    List<Message> selectAllMessage(@Param("username") String username);

}
